﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Store/StoreMastePage.Master" AutoEventWireup="true" CodeBehind="InputDeliveryQuantity.aspx.cs" Inherits="logicunivesityinventorystore.Store.InputDeliveryQuantity" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <h1>Input Delivery Details</h1>
    <br />
    <br />
    <asp:Label ID="Label1" runat="server" Text="Enter Purchase Order Number"></asp:Label>
&nbsp;
    <asp:TextBox ID="txtPoNo" runat="server" Height="24px" Width="249px"></asp:TextBox>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="btn_View" runat="server" Text="View" Height="32px" 
        Width="57px" CssClass="ButtonStyle" />
    <br />
    <br />
    <center>
    <asp:GridView ID="gv_ord" runat="server" AutoGenerateColumns="False" 
            DataSourceID="ObjectDataSource1">
        <Columns>
            <asp:BoundField DataField="ItemCode" HeaderText="Item Code" />
            <asp:BoundField DataField="Description" HeaderText="Description" />
            <asp:BoundField DataField="OrderedQty" HeaderText="Ordered Qty" />
            <asp:TemplateField HeaderText="Received Qty">
                <ItemTemplate>
                    <asp:TextBox ID="txtRecQty" runat="server" Height="25px" 
                        Text='<%# Eval("ReceivedQty") %>' Width="100px"></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Remarks">
                <ItemTemplate>
                    <asp:TextBox ID="txtRemarks" runat="server" Height="25px" Width="180px" 
                        Text='<%# Eval("Remarks") %>'></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            SelectMethod="FindOrderDetailsByID" TypeName="BusinessLogicLayer.OrderFacade">
            <SelectParameters>
                <asp:ControlParameter ControlID="TextBox1" Name="PONo" PropertyName="Text" 
                    Type="String" />
            </SelectParameters>
        </asp:ObjectDataSource>
    <br />
    <br />
    <asp:Button ID="btn_Save" runat="server" Text="Save" Height="32px" Width="57px" 
            onclick="btn_Save_Click" CssClass="ButtonStyle"/></center>
</asp:Content>

<asp:Content ID="Content3" runat="server" 
    contentplaceholderid="ContentPlaceHolder3">

                </asp:Content>
<asp:Content ID="Content4" runat="server" 
    contentplaceholderid="ContentPlaceHolder5">

                </asp:Content>
<asp:Content ID="Content5" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">

                </asp:Content>
<asp:Content ID="Content6" runat="server" 
    contentplaceholderid="ContentPlaceHolder6">

                </asp:Content>
<asp:Content ID="Content7" runat="server" 
    contentplaceholderid="ContentPlaceHolder7">

                </asp:Content>


